package model;

import javax.xml.bind.annotation.*;

/**
 * Created with IntelliJ IDEA.
 * Author: Kostika Gorica
 * User:   kosta
 * Date:   3/10/13
 * Time:   9:46 PM
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlAccessorOrder(XmlAccessOrder.ALPHABETICAL)
@XmlRootElement(name = "row")
public class Artikull {
    private int id;
    private String kodi;
    private String emertimi;
    private String pershkrimi;
    private double cmimiBlerjes;
    private double sasiaMinStock;
    private double sasiaMinFurnizim;
    private int status;
    private int kategoriaID;

    public Artikull(){
        this(0,"","","",0.0,0.0,0.0,0,0);
    }

    public Artikull(int id, String kodi, String emertimi, String pershkrimi, double cmimiBlerjes, double sasiaMinStock, double sasiaMinFurnizim, int status, int kategoriaID) {
        this.id = id;
        this.kodi = kodi;
        this.emertimi = emertimi;
        this.pershkrimi = pershkrimi;
        this.cmimiBlerjes = cmimiBlerjes;
        this.sasiaMinStock = sasiaMinStock;
        this.sasiaMinFurnizim = sasiaMinFurnizim;
        this.status = status;
        this.kategoriaID = kategoriaID;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getKodi() {
        return kodi;
    }

    public void setKodi(String kodi) {
        this.kodi = kodi;
    }

    public String getEmertimi() {
        return emertimi;
    }

    public void setEmertimi(String emertimi) {
        this.emertimi = emertimi;
    }

    public String getPershkrimi() {
        return pershkrimi;
    }

    public void setPershkrimi(String pershkrimi) {
        this.pershkrimi = pershkrimi;
    }

    public double getCmimiBlerjes() {
        return cmimiBlerjes;
    }

    public void setCmimiBlerjes(double cmimiBlerjes) {
        this.cmimiBlerjes = cmimiBlerjes;
    }

    public double getSasiaMinStock() {
        return sasiaMinStock;
    }

    public void setSasiaMinStock(double sasiaMinStock) {
        this.sasiaMinStock = sasiaMinStock;
    }

    public double getSasiaMinFurnizim() {
        return sasiaMinFurnizim;
    }

    public void setSasiaMinFurnizim(double sasiaMinFurnizim) {
        this.sasiaMinFurnizim = sasiaMinFurnizim;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getKategoriaID() {
        return kategoriaID;
    }

    public void setKategoriaID(int kategoriaID) {
        this.kategoriaID = kategoriaID;
    }
}
